/**
 * Copyright (C) 2019-2021 杭州优诗科技有限公司
 *
 * This file is part of UnitSpirit.
 * @author wupingfu
 * @version 1.0.0
 * 
 **/
package com.unitspirit.sample.generics;

/**
 * @author wupf
 *
 */
public class GenericSamples<T> {

    private T param;

    public T getParam() { return param; }

    public void setParam(T param) { this.param = param; }

    public static void main(String[] args) {
        GenericSamples<Integer> integerGenericSamples = new GenericSamples<>();
        integerGenericSamples.setParam(10);
        System.out.println(integerGenericSamples.getParam());
    }
}
